package com.shangqing.system.mapper;

import com.shangqing.system.domain.caoyuan.Alert;
import com.shangqing.system.domain.caoyuan.Caoyuan;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AlertMapper {
     @Select("select * from prairie_alert where id =#{id} ")
    Alert select(int id);

    @Select("select warninglevel from prairie_alert where id =#{id} ")
    String selectByName(int id);
}
